package com.orange.decoratorPatterns;

public class BlueBuff implements person{
    //定义一个person接口变量
    private person p;
    public BlueBuff(person person){
        this.p=person;
    }
    public void attrack() {
        System.out.println("增加蓝buff");
        p.attrack();
    }
}
